package com.suqiu.qqrobot.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: suqiu
 * @desc:
 * @date: 2023/4/18
 */
@Data
@Component
@ConfigurationProperties(prefix = "okhttp")
public class OkHttpProperties {

    private Proxy proxy;
    private Integer timeout;

    @Data
    public static class Proxy {
        private String host;
        private Integer port;
    }

}
